Skip to content

fix(deps): bump flatted, picomatch, undici, rollup (CVE-2026-32141, 33228, 33671, 1526/1528/2229, 27606)#165

Merged
gyermich merged 5 commits into
mainfrom
fix/CVE-2026-flatted-picomatch-undici
Apr 17, 2026
Merged

fix(deps): bump flatted, picomatch, undici, rollup (CVE-2026-32141, 33228, 33671, 1526/1528/2229, 27606)#165
gyermich merged 5 commits into
mainfrom
fix/CVE-2026-flatted-picomatch-undici

Conversation

@gyermich

@gyermich gyermich commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

Lockfile-only updates — all parent constraints already allow the safe versions.

Also tightens the pnpm override for undici from ^6.23.0 to >=6.25.0 to prevent future lockfile regenerations from selecting a vulnerable version.

All transitive dev dependencies (semantic-release / storybook toolchain), no production runtime exposure.

Testing
Tested this version locally with mercury-web (PR)

…23.0→6.25.0

Resolves:
- CVE-2026-32141 (CVSS 7.5): flatted DoS via unbounded recursion — fix: >=3.4.0
- CVE-2026-33228 (High): flatted Prototype Pollution — fix: >3.4.1
- CVE-2026-33671 (CVSS 7.5): picomatch ReDoS — fix: >=2.3.2
- CVE-2026-1526/1528/2229 (CVSS 7.5): undici WebSocket vulnerabilities — fix: >=6.24.0

All fixes are lockfile-only — parent constraints already allow the safe versions.
Copilot AI review requested due to automatic review settings April 16, 2026 22:40
@gyermich gyermich marked this pull request as draft April 16, 2026 22:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pnpm-lock.yaml
Comment thread pnpm-lock.yaml
@codecov

codecov Bot commented Apr 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.13%. Comparing base (2a0662f) to head (d0a684b).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #165   +/-   ##
=======================================
  Coverage   80.13%   80.13%           
=======================================
  Files          44       44           
  Lines         589      589           
  Branches      111      111           
=======================================
  Hits          472      472           
  Misses         77       77           
  Partials       40       40           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Lockfile-only — vite@6.4.1 specifies rollup '^4.34.9' which already
allows 4.60.1. CVE-2026-27606 (High): Rollup Arbitrary File Write via
Path Traversal — fix: >=4.59.0.
@gyermich gyermich changed the title fix(deps): bump flatted 3.3.3→3.4.2, picomatch 2.3.1→2.3.2, undici 6.23.0→6.25.0 fix(deps): bump flatted, picomatch, undici, rollup (CVE-2026-32141, 33228, 33671, 1526/1528/2229, 27606) Apr 17, 2026
@gyermich gyermich marked this pull request as ready for review April 17, 2026 13:56
Copilot AI review requested due to automatic review settings April 17, 2026 13:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pnpm-lock.yaml
Comment thread pnpm-lock.yaml
Comment thread pnpm-lock.yaml
Copilot AI review requested due to automatic review settings April 17, 2026 14:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the pnpm lockfile (and the pnpm override) to ensure several transitive dev dependencies resolve to non-vulnerable versions associated with the listed CVEs.

Changes:

  • Bumps resolved versions of flatted, picomatch, undici, and rollup in pnpm-lock.yaml.
  • Updates the pnpm.overrides.undici constraint in package.json (and mirrors it in pnpm-lock.yaml).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
pnpm-lock.yaml Updates resolved package versions (including undici, rollup, flatted, picomatch) and updates the lockfile’s overrides.undici value.
package.json Tightens/changes the pnpm override for undici to avoid resolving vulnerable versions.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json Outdated
Comment thread pnpm-lock.yaml Outdated
@gyermich gyermich merged commit 629a568 into main Apr 17, 2026
6 checks passed
@gyermich gyermich deleted the fix/CVE-2026-flatted-picomatch-undici branch April 17, 2026 14:36
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.3.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants